#ifndef GEOLOCATION
#define GEOLOCATION

#include <cmath>

#define PI 3.14159265358979323846

class geoLocation {

  double latitude;
  double longitude;

public:

  double getLatitude();
  double getLongitude();
  double operator[](int index);

  void set(const char *lat, const char *lng);
  void set(double lat, double lng);

  geoLocation(double lat, double lng);
  geoLocation(const char *lat, const char *lng);
  geoLocation();

  ~geoLocation();
};

#endif